<html>

<title>Jwats Test</title>

<head>
</head>

<!-- header_loaded() is in jwats_test.js -->
<body style="background-color:#000; color:#FFF" onload="body_loaded()">

<!-- standard javascript -->
<script type="text/javascript">
<!--
var date_obj = new Date();

var date = date_obj.toDateString();
var hour = date_obj.getHours();
var minutes = date_obj.getMinutes();

if (hour > 12)
{
  hour -= 12;
}

if (hour == 0) 
{
	hour = 12;
}

if (minutes < 10)
{
	minutes = "0" + minutes;
}

var time = hour + ":" + minutes;

document.write("Hello <br/>");
document.write("The date is: " + date + "<br/>");
document.write("The time is: " + time + "<br/>");

//-->
</script>

<!-- load a javascript from a seperate file -->
<script type="text/javascript" src="jwats_test.js">
</script>

</body>
</html>